package com._101aiot.auth.api;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * Created by macro on 2020/6/19.
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
public class UserDTO{

    private Long id;

    private String username;

    private String password;

    private Integer status;

    // 用户角色
    private List<String> roles;

}
